class CulturalHeritage::Style < ActiveRecord::Base
  default_scope where("deleted = 0")
  validates :name, :presence => {:message => "El nombre es requerido"}
  has_many :list_cultural_heritage, :class_name => 'CulturalHeritage::CulturalHeritage',  :foreign_key => 'style'
end
